package org.xiaoxin.onecoupon.merchant.admin.service.basic.chain;

import org.springframework.core.Ordered;

/**
 * 定义责任链抽象接口
 * @author xiaoxin
 * 2025/4/8
 */

public interface MerchantAdminAbstractChainHandler<T> extends Ordered {
   /**
    * 执行责任链逻辑
    * @param requestParam 责任链执行入参
    */
   void handler(T requestParam);

   /**
    * @return 责任链组件标识
    */
   String mark();

}
